//
//  BaseBtn.h
//  ZITHER
//
//  Created by weixin on 2018/10/16.
//  Copyright © 2018年 weixn. All rights reserved.
//

#import <QMUIKit/QMUIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface BaseBtn : QMUIButton

/** 按钮点击案例 */
//@weakify(self);
//[[btn rac_signalForControlEvents:(UIControlEventTouchUpInside)] subscribeNext:^(__kindof UIControl * _Nullable x) {
//    @strongify(self);
//
//}];


-(instancetype)initializeFrame:(CGRect)frame NormalText:(NSString*)NormalText NormalTextColor:(UIColor *)NormalTextColor SeleText:(NSString*)SeleText NormalImage:(NSString*)Normalimage SeleImage:(NSString*)Seleimage SeleTextColor:(UIColor *)SeleTextColor   font:(NSInteger)font isBold:(BOOL)isBold;

/** 纯文字 */
-(instancetype)initializeFrame:(CGRect)frame NormalText:(NSString*)NormalText  NormalTextColor:(UIColor *)NormalTextColor SeleText:(NSString*)SeleText  SeleTextColor:(UIColor *)SeleTextColor   font:(NSInteger)font isBold:(BOOL)isBold;


/** 纯图片 */
-(instancetype)initializeFrame:(CGRect)frame NormalImage:(NSString*)Normalimage SeleImage:(NSString*)Seleimage;




/** 纯图片(新) */
+(instancetype)initCustomBtn:(NSArray*)images;

/** 纯文字(新) */
+(instancetype)initCustomBtnTitlestype:(NSArray*)Titles color:(NSArray*)colors;

/** 图+文字(新) */
+(instancetype)initCustomBtnImageAndTitles:(NSArray*)Titles images:(NSArray*)images color:(NSArray*)colors;


///** 添加点击事件 */
-(RACSignal *)addTag;

-(void)setLocalImage:(NSString*)url;

@end

NS_ASSUME_NONNULL_END
